{% autoescape off %}
<span id="cur_url" style="display: none">{{cur_url}}</span>
<tr bgcolor="{{bgcolor}}">
    <td id="name_{{id}}" width="300px">{{name}}</td>
    <td class="due_date">
        <a id="due_date_{{id}}" href="javascript:void(0)" onclick="loadContent('http://{{server_host}}/search?due_date={{due_date}})">{{due_date}}</a>
    </td>
    <td class="group_due_date">
        <a id="group_due_date_{{id}}" href="javascript:void(0)" onclick="loadContent('http://{{server_host}}/search?group_due_date={{group_due_date}})">{{group_due_date}}</a>
    </td>
    <td>
        <a id="estimated_mds_{{id}}" href="javascript:void(0)" onclick="loadContent('http://{{server_host}}/search?estimated_mds={{estimated_mds}}')">{{estimated_mds}}</a>
    </td>
    <td>
        <a id="start_date_{{id}}" href="javascript:void(0)" onclick="loadContent('http://{{server_host}}/search?start_date={{start_date}}')">{{start_date}}</a>
    </td>
    <td>
        <a id="end_date_{{id}}" href="javascript:void(0)" onclick="loadContent('http://{{server_host}}/search?start_date={{start_date}}')">{{end_date}}</a>
    </td>
    <td id="note_{{id}}" title="{{note_full}}">
        {{note}}
    </td>
    <td>
        <span id="tag_{{id}}" style="display:none">{{tag}}</span>
        {{tags_combined}}
    </td>
    <td>
        <span style="display:none" id="status_id_{{id}}">{{status_id}}</span>
        <a id="status_{{id}}" href="javascript:void(0)" onclick="loadContent('http://{{server_host}}/search?status={{status_id}}')">{{status}}</a>
    </td>
    <td>
        <a id="dev_name_{{id}}" href="javascript:void(0)" onclick="loadContent('http://{{server_host}}/search?dev_name={{dev_name}}')">{{dev_name}}</a>
    </td>
    <td width="238px">
        <a class="button" href="javascript:void(0)" onclick="completeTask({{id}})">完成</a>
        <a class="button" href="javascript:void(0)" onclick="editTask({{id}})">编辑</a>
        <a class="button" href="javascript:void(0)" onclick="deleteTask({{id}})">删除</a>
    </td>
</tr>
{% endautoescape %}
